package com.oauth.google.client.beans.picassa;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class GooglePicasaAlbum implements IsSerializable{

	private String mTitle;
	private String mLink;
	private String albumId;
	private int photoAvailable;
	private int photoLeft;
	
	private List<PicasaPhoto> photos;
	
	public GooglePicasaAlbum(){
		photos = new ArrayList<PicasaPhoto>();
	}
	
	public void addPhoto(PicasaPhoto picasPhoto){
		photos.add(picasPhoto);
	}
	
	
	
	/**
	 * @return the photos
	 */
	public List<PicasaPhoto> getPhotos() {
		return photos;
	}

	/**
	 * @param pPhotos the photos to set
	 */
	public void setPhotos(List<PicasaPhoto> pPhotos) {
		photos = pPhotos;
	}

	/**
	 * @return the photoAvailable
	 */
	public int getPhotoAvailable() {
		return photoAvailable;
	}
	/**
	 * @param pPhotoAvailable the photoAvailable to set
	 */
	public void setPhotoAvailable(int pPhotoAvailable) {
		photoAvailable = pPhotoAvailable;
	}
	/**
	 * @return the photoLeft
	 */
	public int getPhotoLeft() {
		return photoLeft;
	}
	/**
	 * @param pPhotoLeft the photoLeft to set
	 */
	public void setPhotoLeft(int pPhotoLeft) {
		photoLeft = pPhotoLeft;
	}
	public String getTitle() {
		return mTitle;
	}
	public void setTitle(String pTitle) {
		mTitle = pTitle;
	}
	public String getLink() {
		return mLink;
	}
	public void setLink(String pLink) {
		mLink = pLink;
	}

	/**
	 * @return the albumId
	 */
	public String getAlbumId() {
		return albumId;
	}

	/**
	 * @param pAlbumId the albumId to set
	 */
	public void setAlbumId(String pAlbumId) {
		albumId = pAlbumId;
	}
	
	
}
